﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;

namespace JeanFish.Tracing.Configuration
{
    public class TracingConfiguration : ConfigurationSection
    {
        public const string DefaultSourceName = "Default";
        private const string sourceName = "sourceName";
        /// <summary>
        /// 跟踪源名称。
        /// </summary>
        [ConfigurationProperty(sourceName, DefaultValue = DefaultSourceName)]
        public string SourceName
        {
            get { return (string)this[sourceName]; }
            set { this[sourceName] = value; }
        }
    }
}
